<!DOCTYPE html>  
<html lang="zh-CN">  
  <head>  
    <meta charset="UTF-8" />  
    <title>图像基本练习</title>  
    <style type="text/css">  
      body {  
        background-color: pink;  
      }  
  
      img:first-of-type {  
        display: block;  
        margin-bottom: 20px;  
      }  
  
      img.border {  
        border: 5px dotted blue;  
      }  
    </style>  
  </head>  
  <body>  
    <img src="images/qq.jpg" title="QQ" alt="QQ" />  
    <br />  
    <img src="images/qq.jpg" title="QQ" alt="QQ" class="border" />  
  </body>  
</html>